class LetterTile:
    def __init__(self, symbol, color, font=None):
        self.symbol = symbol
        self.color = color
        if font:
            self.font = font
            self.icon = font.render(self.symbol, 1, self.color)

    def rect(self):
        return self.icon

    def setFont(self, font):
        self.font = font
        self.icon = font.render(self.symbol, 1, self.color)

class Tile:
    def __init__(self, file=None):
        if file:
            self.filename = file
            self.empty = False
        else:
            self.empty = True
